#pragma once

class PipeLine;

class DataCapture
{
public:
	DataCapture(void);
	~DataCapture(void);

	virtual void initialize() = 0;
	virtual void start();
	virtual void stop() = 0;

	virtual void captureFrame() = 0;

	inline void setPipeLine( PipeLine* pipeline ) { _pipeLine = pipeline; }
	inline PipeLine* getPipeLine() { return _pipeLine; }

	inline bool isStarted() { return _isStarted; }

private:
	PipeLine* _pipeLine;

	bool _isStarted;
};
